//
//  jifenTableViewCell.m
//  1243
//
//  Created by ym on 16/3/26.
//  Copyright © 2016年 1243. All rights reserved.
//

#import "jifenTableViewCell.h"

@implementation jifenTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.number  = [[UILabel alloc] init];
        [self.contentView addSubview:self.number];
        //  self.cover_s.backgroundColor = COLOUR;
        
        self.name = [[UILabel alloc] init];
        [self.contentView addSubview:self.name];
        // self.name.backgroundColor = [UIColor redColor];
        
    }
    
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.name.frame = CGRectMake(20*NORMWIDTH, 0*NORMHEIGHT, 100*NORMWIDTH, self.contentView.frame.size.height );
    self.number.frame = CGRectMake(315*NORMWIDTH, 0, 60*NORMWIDTH, self.contentView.frame.size.height
                                  );
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
